#include "TCPServer.hpp"


void Usage(char* process)
{
    std::cout << std::endl<< " Usage: "<< process << " + port"<< std::endl<< std::endl;
}

int main(int argc, char* argv[])
{
    if(argc != 2)
    {
        Usage(argv[0]);
        exit(-1);
    }

    int port = std::stoi(argv[1]);
    TcpServer tcp(port);
    tcp.Init();
    tcp.Start();

    return 0;
}